/**
* Author: fulishang
* Create Time  : 2016年8月15日,上午1:18:40
* Modify Time :
* Desc  : 
*/
package com.sam.si.dc.util;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "spring.*",locations = "classpath:application.properties")   
public class DataSource {

	private String url;
	private String username;
	private String password;
	private String driverClass;
	private String dialect;
	
	public DataSource() {
		super();
	}
	
	public DataSource(String url,String username,String password, String driverClass, String dialect) {
		this.url = url;
		this.username = username;
		this.password = password;
		this.driverClass = driverClass;
		this.dialect = dialect;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getDriverClass() {
		return driverClass;
	}
	public void setDriverClass(String driverClass) {
		this.driverClass = driverClass;
	}
	public String getDialect() {
		return dialect;
	}
	public void setDialect(String dialect) {
		this.dialect = dialect;
	}
	
	
}
